QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Hit Path Structure

You use a hit path structure to get group information about the path through a model hierarchy to a specific picked object. A hit path structure is defined by the TQ3HitPath data type.

typedef struct TQ3HitPath {
    TQ3GroupObject                      rootGroup;
    unsigned long                       depth;
    TQ3GroupPosition                    *positions;
} TQ3HitPath;
rootGroup
The root group that was picked.
depth
The number of positions in the path. If the picked object is not in the model hierarchy, this field contains the value 0.
positions
A pointer to an array of group positions. This array is allocated by QuickDraw 3D.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |